<?php

namespace App\Service\User\v1_2_2;

use App\Service\User\UserBaseService;

/**
 * 搜索选项
 */
class SelectOpService extends UserBaseService
{
    public function handle()
    {
        return [
            [
                'type' => 'age',
                'title' => '年龄筛选',
                'option' => [
                    ['text' => '全部', 'value' => '', 'selected' => 1],
                    ['text' => '18-25', 'value' => '18,25', 'selected' => 0],
                    ['text' => '25-35', 'value' => '25,35', 'selected' => 0],
                    ['text' => '35以上', 'value' => '35,', 'selected' => 0]
                ]
            ],
            [
                'type' => 'online',
                'title' => '在线状态',
                'option' => [
                    ['text' => '全部', 'value' => '-1', 'selected' => 1],
                    ['text' => '只看在线', 'value' => '1', 'selected' => 0],
                ]
            ]
        ];
    }
}
